package com.fc.test.mapper.auto;

import com.fc.test.model.auto.TAbbGoods;
import com.fc.test.model.auto.TAbbGoodsExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 *
 *
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-08-22 18:34:02
 */
public interface TAbbGoodsMapper {
    long countByExample(TAbbGoodsExample example);

    int deleteByExample(TAbbGoodsExample example);

    int deleteByPrimaryKey(String id);

    int insert(TAbbGoods record);

    int insertSelective(TAbbGoods record);

    List<TAbbGoods> selectByExample(TAbbGoodsExample example);

    TAbbGoods selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TAbbGoods record, @Param("example") TAbbGoodsExample example);

    int updateByExample(@Param("record") TAbbGoods record, @Param("example") TAbbGoodsExample example);

    int updateByPrimaryKeySelective(TAbbGoods record);

    int updateByPrimaryKey(TAbbGoods record);

    List<TAbbGoods> getCuxiaoBannerList();

    List<TAbbGoods> getCuxiaoGoodsList(Map<String,Object> map);

    List<TAbbGoods> searchHuigouGoodsList(Map<String,Object> map);

    List<TAbbGoods> getQianggouGoodsList(Map<String,Object> map);

    List<TAbbGoods> getMeishiGoodsList(Map<String,Object> map);

    List<TAbbGoods> getHuigouGoodsByShopId(Map<String,Object> map);

    void updateForbiddenByShopid(@Param("i") int i, @Param("shopid") String shopid);

    void updateYuliu3ByType(Integer type);

    TAbbGoods getRecommendGoods(Map<String,Object> map);
}
